﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Model.ywxt.ProjectBuyRecord
{
    /// <summary>
    /// 项目财务记录
    /// </summary>
    public class ProjectFinanceRecord
    {
        /// <summary>
        /// 记录ID
        /// </summary>
        public virtual string rec_id { get; set; }

        /// <summary>
        /// 所属项目ID
        /// </summary>
        public virtual t_project Project { get; set; }

        /// <summary>
        /// 操作员ID
        /// </summary>
        public virtual t_sys_user OpUser { get; set; }

        /// <summary>
        /// 记录摘要
        /// </summary>
        public virtual string rec_describe { get; set; }

        /// <summary>
        /// 记录标识：1：收入；-1：支出；
        /// </summary>
        public virtual int rec_flag { get; set; }

        /// <summary>
        /// 记录金额
        /// </summary>
        public virtual decimal rec_value { get; set; }

        /// <summary>
        /// 凭证号码
        /// </summary>
        public virtual string rec_pzhm { get; set; }

        /// <summary>
        /// 票据号码
        /// </summary>
        public virtual string rec_pjhm { get; set; }

        /// <summary>
        /// 相关业务记录ID
        /// </summary>
        public virtual string rec_from_id { get; set; }

        /// <summary>
        /// 是否有效
        /// </summary>
        public virtual int is_valid { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public virtual DateTime create_date { get; set; }

        /// <summary>
        /// 所属费用类型：
        /// 1、招标文件销售
        /// 2、保证金
        /// 3、服务费
        /// 等
        /// </summary>
        public virtual string rec_type { get; set; }

        /// <summary>
        /// 所属费用类型ID
        /// </summary>
        public virtual string rec_type_id { get; set; }
    }
}
